{#
 This Source Code Form is subject to the terms of the Mozilla Public
 License, v. 2.0. If a copy of the MPL was not distributed with this
 file, You can obtain one at https://mozilla.org/MPL/2.0/.
#}

{% from "macros-protocol.html" import callout_compact, hero with context %}
{% from "firefox/includes/macros.html" import firefox_download_desktop_button_windows with context %}

{% extends "firefox/base/base-protocol.html" %}

{% block page_title %}{{ ftl('windows-64-bit-firefox-for-windows') }}{% endblock %}

{% block page_desc %}
  {{ ftl('windows-64-bit-users-on-64-bit-windows') }}
{% endblock %}

{% block page_css %}
  {{ css_bundle('protocol-callout') }}
  {{ css_bundle('protocol-article') }}
  {{ css_bundle('windows-64-bit') }}
{% endblock %}

{% block site_header %}
  {% with hide_nav_cta=True %}
    {% include 'includes/protocol/navigation/navigation.html' %}
  {% endwith %}
{% endblock %}

{% block body_class %}{{ super() }} firefox-windows-64bit{% endblock %}

{% block sub_navigation %}
 {% include '/firefox/includes/desktop-platform-sub-nav.html' %}
{% endblock %}

{% block content %}
  <div class="c-hero mzp-t-dark">
    <div class="hero-content mzp-l-content">
      <div class="mzp-c-logo mzp-t-logo-md mzp-t-product-firefox"></div>
      <p>{{ ftl('windows-64-bit-64-bit') }}</p>
      <h1>{{ ftl('windows-64-bit-a-more-secure-firefox') }}</h1>
      <div class="download-firefox">
        {{ firefox_download_desktop_button_windows(cta_copy=ftl('windows-64-bit-download-firefox', fallback='download-button-download-firefox'), id='win64-hero-download', build='64') }}
      </div>
    </div>
  </div>
  <div class="mzp-l-content">
  <article class="mzp-c-article">
  <p class="mzp-c-article-intro">
    {{ ftl('windows-64-bit-users-on-64-bit-windows-crashes', crashes='https://blog.mozilla.org/firefox/defeat-browser-crashes/') }}
  </p>

  <hr>
  <section class="article-section">
    <h2>{{ ftl('windows-64-bit-whats-the-difference') }}</h2>
    <p>
      {{ ftl('windows-64-bit-heres-the-key-thing', ASLR='https://en.wikipedia.org/wiki/Address_space_layout_randomization') }}
    </p>
  </section>

  <section class="article-section">
    <h2>{{ ftl('windows-64-bit-how-do-you-get-64') }}</h2>
    <p>
    {{ ftl('windows-64-bit-if-youre-running', version='https://support.microsoft.com/help/13443/windows-which-operating-system', check='https://support.mozilla.org/kb/update-firefox-latest-version') }}
      <ul class="mzp-u-list-styled">
        <li>{{ ftl('windows-64-bit-if-you-see-32-bit-older') }}</li>
        <li>{{ ftl('windows-64-bit-if-you-see-32-bit-newer') }}</li>
      </ul>
      {{ ftl('windows-64-bit-if-you-need-to-run', all=url('firefox.all')) }}
    </p>
  </section>

  </article>
</div>

{% call callout_compact(
  title=ftl('windows-64-bit-take-control-of-your'),
  class='mzp-t-product-firefox mzp-t-firefox mzp-t-dark',
  brand=True,
  brand_product='firefox',
  brand_type='logo',
  brand_size='lg',
) %}
<div class="download-firefox">
  {{ firefox_download_desktop_button_windows(cta_copy=ftl('windows-64-bit-download-firefox', fallback='download-button-download-firefox'), id='win64-bottom-download', build='64', position='secondary cta') }}
</div>
{% endcall %}

{% endblock %}
